/*
 * Copyright (C) 2010 TopCoder Inc., All Rights Reserved.
 */
package com.hercules.android.receiver;

/**
 * <p>
 * This exception will be thrown when any error occurs when connecting to XRE
 * server, reading or writing data from/to XRE server.
 * </p>
 * 
 * @author TCSASSEMBER
 * @version 1.0
 */
public class ConnectionManagerException extends Exception {
    /**
     * Represents the serial version unique id.
     */
    private static final long serialVersionUID = 2968509243687637923L;

    /**
     * Create a new exception with error message.
     * 
     * @param message
     *            the error message
     */
    public ConnectionManagerException(String message) {
        super(message);
    }

    /**
     * Create a new exception with error message and inner cause.
     * 
     * @param message
     *            the error message
     * @param cause
     *            the inner cause
     */
    public ConnectionManagerException(String message, Throwable cause) {
        super(message, cause);
    }
}
